package A_review.review2_13;

public class Class58 {

    public int lengthOfLastWord(String s) {

        String[] split = s.split("\\s+");
        return split[split.length-1].length();


    }
}
